import { requestGet, requestPost } from "../utils/request";



/**
 * 获取订单数据统计
 * @param {*} obj 
 * @returns 
 */
export const getPromotes=(obj)=>{
    return requestGet("api/admin/getPromotes",obj);
 }
 

 /**
 *管理员- 停止活动
 * @param {*} obj 
 * @returns 
 */
export const stopPromote=(obj)=>{
    return requestPost("api/admin/StopPromote",obj);
 }